//
//  GHDefaultCentView.h
//  12-guhu_weibo
//
//  Created by GHapple on 15-2-1.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>


@class GHDefaultCentView;
@protocol GHDefalutCentViewDelegate <NSObject>

@optional

- (void)defaultCenterView:(GHDefaultCentView *)defaultCenterView didClickLogin:(UIButton *)loginBtn;

- (void)defaultCenterView:(GHDefaultCentView *)defaultCenterView didClickRegister:(UIButton *)registerBtn;


@end



@interface GHDefaultCentView : UIView


@property(nonatomic,weak)id<GHDefalutCentViewDelegate>delegate;
/**
 *  转盘
 */
@property (weak, nonatomic) IBOutlet UIImageView *turnIcon;


@property(nonatomic,copy)NSString *lablestring;

@property(nonatomic,copy)NSString *iconName;


+(instancetype)defaultCentView;

/**
 *  开始转盘
 */
- (void)startTurn;
/**
 *  停止转盘
 */
- (void)stopTurn;


@end
